package cn.dw.mm.mapper;

import java.util.List;

import cn.dw.mm.domain.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

	List<User> setAll(User user);

	/**
	 * @param name
	 * @param password
	 * @return
	 */
	int login(User user);
}